/*!
\file AlgorithmLogArea.cpp
\brief Contains implementation of AlgorithmLogArea.
\ingroup GUI
*/

#include"AlgorithmLogArea.h" 

AlgorithmLogArea::AlgorithmLogArea( QWidget *parent ):QTextEdit( parent ){
	setSizePolicy( QSizePolicy::Minimum, QSizePolicy::Minimum );
	setReadOnly( true );
	setMinimumHeight(40);
	setMinimumWidth(200);
}

AlgorithmLogArea::~AlgorithmLogArea(){

}

void AlgorithmLogArea::log( QString message ){
	append(message);
	ensureCursorVisible();
}
